﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="Documents_Invoices_test" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .content
        {          
            font-family:Arial;
            font-size:medium;
            width: 842px;
        }      
         .table
         {        	 
         	 border: 1px solid #000000;
         	 width:100%;           
         }
         .centerBold
         {
         	font-weight: bold;
         	text-align: center;
         	
         }
         .solidBottomHeader
         {
            border-style: none none solid none;
            border-width: thin;
            border-color: #000000;
         }
         .dottBottomHeader
         {
         	border-style: none none dotted none; 
         	border-width: thin; 
         	border-color: #000000;       	
         }
         .dottBottomSmallFont
         {
         	border-style: none none dotted none; 
         	border-width: thin; 
         	border-color: #000000;
         	font-size:smaller;
         }
         .solidBottomSmallFont
         {
         	border-style: none none solid none;
            border-width: thin;
            border-color: #000000;
            font-size:smaller;         
         }
         .middleSmallFontDott
         {
         	border-style: none solid dotted solid; 
         	border-width: thin; 
         	border-color: #000000;
         	font-size:smaller;
         	padding-left:10px;
         }
         .middleSmallFontSolid
         {
         	border-style: none solid solid solid; 
         	border-width: thin; 
         	border-color: #000000;
         	font-size:smaller;
         	padding-left:10px;
         }
         .right
         {
         	float:right;
         }
         .left
         {
         	float:left;
         }
         .marg
         {
         	margin-left:68px;
         }
         td
         {
         	border: solid 1px black;
         }
         
         td span
         {
         	display:block;
            font-size:smaller;
         }

     </style>
</head>
<body>
    <form id="form1" runat="server">
    
     <asp:ScriptManager ID="sm" runat="server">
     </asp:ScriptManager>
    
    <div id="content" class="content">
        
              
        <table class="table" frame="box">
            <tr class="centerBold">
                <td style="width: 35%">
                    получател&nbsp;</td>
                 <td colspan="2" rowspan="2" style="width: 30%;">
                Фактура
                <br />
                <br />
                <span style="font-style: italic">ОРИГИНАЛ</span></td>
                <td style="width: 35%">
                    доставчик</td>
            </tr>
            <tr class="centerBold">
                <td class="dottBottomHeader">
                    <asp:Label ID="lblCustomer" runat="server" /></td>
                <td class="dottBottomHeader">
                    Контур България ООД</td>
            </tr>
            <tr>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    адрес:
                    </span>
                    <asp:Label ID="lblCustAddress" runat="server" CssClass="right" /></td>
                <td colspan="2" class="middleSmallFontDott">
                    номер:
                    <asp:Label ID="lblNumber" runat="server" Font-Size="Medium" CssClass="marg"/></td>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    адрес:
                    </span>
                     <asp:Label ID="lblSuppAdress" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    № по ЗДДС:
                    </span>
                    <asp:Label ID="Label1" runat="server" CssClass="right" /></td>
                <td colspan="2" class="middleSmallFontDott">
                    дата на издаване:
                    <asp:Label ID="lblDateOfIssuing" runat="server" Font-Size="Medium" /></td>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    № по ЗДДС:
                    </span>
                    <asp:Label ID="lblZDDSSupp" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    ЕИК/ЕГН:
                    </span>                    
                    <asp:Label ID="lblEIKEGN" runat="server" CssClass="right"/></td>                
                <td colspan="2" rowspan="2" class="middleSmallFontSolid">   
                    дата на данъчно
                    <br />
                    събитие или аванс:
                    <asp:Label ID="lblTax" runat="server" Font-Size="Medium"/> 
                    </td>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    ЕИК/ЕГН:
                    </span>
                    <asp:Label ID="lblEGNSupp" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td class="solidBottomSmallFont">
                    <span class="left">
                    МОЛ:
                    </span>
                    <asp:Label ID="lblMOL" runat="server" CssClass="right"/></td>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    МОЛ:
                    </span>
                    <asp:Label ID="lblMOLSupp" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td colspan="3" style="font-size:smaller">
                    <span class="left">
                    Основание при 
                    <br />
                    известие:
                    </span>
                    <asp:Label ID="lblReasonOnNotify" runat="server" CssClass="right" /></td>
                <td class="dottBottomSmallFont">
                    <span class="left">
                    № по ЗДДС в друга
                    <br />
                    държава:
                    </span>
                    <asp:Label ID="lblZDDSForeign" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td colspan="3" style="font-size:smaller">              
                    <span class="left">
                    към фактура № 
                    </span>
                    <asp:Label ID="lblFacNum" runat="server" CssClass="left" />
                    <span class="left" style="margin-left:100px">
                    от дата:
                    </span> 
                    <asp:Label ID="lblDate" runat="server" CssClass="left" /></td>             
                <td class="solidBottomSmallFont">
                    <span class="left">
                    Други данни:
                    </span>
                    <asp:Label ID="lblOtherData" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td colspan="4" style="height: 40px; font-size:smaller;">
                    <span class="left">
                    Данни за
                    <br />
                    доставката:
                    </span>
                    <asp:Label ID="lblDeliveryInfo" runat="server" CssClass="right" /></td>
            </tr>
            <tr>
                <td colspan="4">
                
                    <telerik:RadGrid ID="RadGrid1" runat="server" Skin="Gray">
                    <HeaderContextMenu EnableTheming="True">
                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                    </HeaderContextMenu>

                    <MasterTableView>
                    <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>

                    <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    </MasterTableView>

                    <FilterMenu EnableTheming="True">
                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                    </FilterMenu>
                    </telerik:RadGrid>
                    
                </td>
            </tr>
        </table>
        <table class="table" style="font-size:smaller;">
            <tr>
                <td rowspan="2" style="width:50%">
                     <span class="left">
                     ДДС словом:
                     </span>
                     <asp:Label ID="lblDDSinWords" runat="server" CssClass="left"/></td>
                <td style="width:25%">
                    <span class="left">
                    дан. основа:
                    </span>
                    <asp:Label ID="lblTaxBase" runat="server" Font-Size="Medium" CssClass="right"/></td>
                <td>
                    <span class="right">
                    всичко:</span></td>
                <td>
                    <asp:Label ID="lblAll" runat="server" /></td>
            </tr>
            <tr>
                <td>
                    <span class="left">
                    ДДС ставка:
                    </span>
                    <asp:Label ID="lblDDSStake" runat="server" Font-Size="Medium" CssClass="right"/></td>
                <td>
                    <span class="right">
                    ДДС:</span></td>
                <td style="width:13%">
                    <asp:Label ID="lblDDS" runat="server" Font-Size="Medium"/></td>
            </tr>
            <tr style="height: 40px">
                <td colspan="2">
                    <span class="left">
                    сума за плащане словом:
                    </span>
                    <asp:Label ID="lblAmountToPayТxt" runat="server" /></td>
                <td>
                    <span class="right">
                    сума за
                    <br />
                    плащане:
                    </span>
                    </td>
                <td>
                    <asp:Label ID="lblAmountToPay" runat="server" Font-Size="Medium"/></td>
            </tr>
        </table>     
       <table class="table">
        <tr>
            <td rowspan="2" style="height:80px; width:35%;">
                <span>Основание за неначисляване на ДДС или</span>
                <span>за начисляване на нулева ставка:</span>
                <asp:Label ID="lblLaw" runat="server" /></td>
            <td style="width:30%;">
                &nbsp;</td>
            <td colspan="2" rowspan="3" style="border: none; width:35%;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="height:45px">
                &nbsp;</td>
        </tr>
        <tr>
            <td rowspan="2">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td class="solidBottomSmallFont">
                &nbsp;</td>
        </tr>
    </table>
        
    </div>
    </form>
    
</body>
</html>
